package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.SaleList;
import com.atguigu.jxc.vo.PCountVo;
import com.atguigu.jxc.vo.RVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SaleListDao {
    void save(SaleList saleList);

    List<SaleList> list(@Param("saleNumber")String saleNumber,
                        @Param("customerId")Integer customerId,
                        @Param("state")Integer state,
                        @Param("sTime")String sTime,
                        @Param("eTime")String eTime);

    void delete(Integer saleListId);

    void updateState(Integer saleListId);

    List<PCountVo> count(@Param("sTime")String sTime,
                         @Param("eTime")String eTime,
                         @Param("goodsTypeId")Integer goodsTypeId,
                         @Param("codeOrName")String codeOrName);

}
